import request from '@/utils/request'
// 查询竞标记录列表  http://localhost:8081
export function getProjectLog(query) {
    return request({
        url: '/system/projectLog/list',
        method: 'get',
        params: query
    })
}

//竞标项目
export function getProject(query) {
    return request({
        url: '/system/project/list',
        method: 'get',
        params: query
    })
}
//竞标报价记录
export function getProjectLogInfo(query) {
    return request({
        url: '/system/projectLogDetail/list',
        method: 'get',
        params: query
    })
}
// http://localhost:8081/system/projectLog
// 查询竞标记录详情  http://localhost:8081
export function getprojectLog(query) {
    return request({
        // url: '/system/delivery/list',
        url: '/system/compute/list',
        method: 'get',
        params: query
    })
}

// 查询竞标记录详情 
export function getprojectLogOrder(query) {
    return request({
        // url: '/system/delivery/list',
        url: '/system/computeDetail/list',
        method: 'get',
        params: query
    })
}

// 根据算量详情查询采购列表 
export function getComputeList(query) {
    return request({
        // url: '/system/delivery/list',
        url: '/system/compute/list',
        method: 'get',
        params: query
    })
}

// 添加竞标记录
export function addQroject(query) {
    return request({
        url: '/system/project',
        method: 'post',
        data: query
    })
}


// 作废
export function editPorLog(query) {
    return request({
        url: '/system/project',
        method: 'put',
        data: query
    })
}


//修改竞标公司 --作废
export function editProLogCom(query) {
    return request({
        url: '/system/projectLog',
        method: 'put',
        data: query
    })
}